Fully Qualified Name: | Zend\Filter\StripTags |
Extends: | AbstractFilter |
Name | Description | Defined By |
---|---|---|
__construct() | Sets the filter options Allowed options are 'allowTags' => Tags which are allowed 'allowAttribs' => Attributes which are allowed 'allowComments' => Are comments allowed ? | StripTags |
__invoke() | Invoke filter as a command | AbstractFilter |
filter() | Defined by Zend\Filter\FilterInterface | StripTags |
getAttributesAllowed() | Returns the attributesAllowed option | StripTags |
getOptions() | Retrieve options representing object state | AbstractFilter |
getTagsAllowed() | Returns the tagsAllowed option | StripTags |
hasPcreUnicodeSupport() | AbstractFilter | |
setAttributesAllowed() | Sets the attributesAllowed option | StripTags |
setOptions() | AbstractFilter | |
setTagsAllowed() | Sets the tagsAllowed option | StripTags |
Sets the filter options Allowed options are 'allowTags' => Tags which are allowed 'allowAttribs' => Attributes which are allowed 'allowComments' => Are comments allowed ?
Parameter Name | Type | Description |
---|---|---|
$options | string|array|\Traversable |
Returns:
Invoke filter as a command
Proxies to {@link filter()}
Parameter Name | Type | Description |
---|---|---|
$value | mixed |
Returns: mixed
Defined by Zend\Filter\FilterInterface
If the value provided is non-scalar, the value will remain unfiltered
Parameter Name | Type | Description |
---|---|---|
$value | string |
Returns: string|mixed
Returns the attributesAllowed option
Returns: array
Retrieve options representing object state
Returns: array
Returns the tagsAllowed option
Returns: array
Returns: bool
Sets the attributesAllowed option
Parameter Name | Type | Description |
---|---|---|
$attributesAllowed | array|string |
Returns: self Provides a fluent interface
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable |
Returns: self
Sets the tagsAllowed option
Parameter Name | Type | Description |
---|---|---|
$tagsAllowed | array|string |
Returns: self Provides a fluent interface